#pragma once

#include "ForkNode.h"


namespace uml {

ForkNode::ForkNode(const QString& umlType)
    : ControlNode(umlType) {}

void ForkNode::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    ControlNode::fromJson(json, errorList);
}

void ForkNode::toJson(QJsonObject& json) {
    ControlNode::toJson(json);
}

} // namespace uml
